package _11_builder_pattern.v3_0;

public class Client {
	public static void main(String[] args) {
		Director director = new Director();
		//1万辆A类型的奔驰车
		for (int i = 0; i < 10000; i++) {
			director.getABenzModel().run();
		}
		//100万辆B类型的奔驰车
		for (int i = 0; i < 1000000; i++) {
			director.getBBenzModel().run();
		}
		//1000万辆C类型的宝马车
		for (int i = 0; i < 10000000; i++) {
			director.getCBMWModel().run();
		}
	}
}